﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace BJoin.Application.Dto
{
    public enum MessageEnum
    {
        /// <summary>
        /// ExistCannotDuplicate
        /// </summary>
        [Description("业务验证通过")]
        OK = 0,
        /// <summary>
        /// ExistCannotDuplicate
        /// </summary>
        [Description("{0} 已存在,不能重复")]
        ExistCannotDuplicate = 1,
        /// <summary>
        /// ExistCannotDuplicate
        /// </summary>
        [Description("{0} 未找到")]
        NotFound = 2,
        /// <summary>
        /// NotNull
        /// </summary>
        [Description("{0} 不为null")]
        NotNull = 3,
        /// <summary>
        /// NotNull
        /// </summary>
        [Description("{0} 不为Null或空")]
        NotEmpty = 4,
        /// <summary>
        /// NotNull
        /// </summary>
        [Description("{0} 需大于0")]
        MustGreatZero = 5,
        /// <summary>
        /// NotNull
        /// </summary>
        [Description("{0} 格式错误")]
        InvalidFormat = 6,
        /// <summary>
        /// NotNull
        /// </summary>
        [Description("分页参数 {0}|{1} 需大于或等于0")]
        InvalidPaging = 7,
        /// <summary>
        /// NotNull
        /// </summary>
        [Description("{PropertyValue} 不在枚举取值范围")]
        NotEnumRange = 8

    }
}
